package com.sunkyc.module.oss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunkyc.commons.entity.TablePageData;
import com.sunkyc.commons.entity.PageQueryVo;
import com.sunkyc.module.oss.entity.SysOss;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 云存储对象 服务类
 * </p>
 *
 * @author sunkyc
 * @since 2022-06-07
 */
public interface SysOssService extends IService<SysOss> {


    SysOss addFileUpload(SysOss sysOss) throws IOException;

    Long getUploadFileSize();

    TablePageData<SysOss> queryFileList(PageQueryVo pageQueryVo, SysOss sysOss);

    int delFile(Long[] ids);

    List<SysOss> queryListByIds(Long[] ids);
}
